#include"Queue.h"

void TestQueue()
{
	Queue q;
	QueueInit(&q);
	QueuePush(&q, 1);
	QueuePush(&q, 2);
	QueuePush(&q, 3);
	
	printf("%d ", QueueFront(&q));
	
	QueuePop(&q);
	
	QueuePush(&q, 4);
	QueuePush(&q, 4);
	QueuePush(&q, 4);

	while (!QueueEmty(&q))
	{
		printf("%d ", QueueFront(&q));
	}
	printf("\n");

	QueueDestory(&q);

}

int main()
{
	TestQueue();
	
	return 0;
}